import { createPool } from "mysql2/promise";

let pool = createPool({
  host: 'localhost',
  user: 'misty',
  password: 'cb258456',
  database: 'world'
})

async function main() {
  let [ cities ] = await pool.query('select * from city limit 5')
  console.log(cities)

}

main()
// pool.end()